package com.xyh.transaction.meilisearch;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Collection;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Movie {

    private String id;

    private String title;

    private String overview;

    private Collection<String> genres;

    private String poster;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime releaseDate;
}
